solving interior angles of regular polygons